package com.sanjiahantang.youjiaclient.module.me.contract.beans;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.sanjiahantang.youjiaclient.base.BaseBean;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by zy on 2017/9/8.
 * 合同
 */

public class ContractBean extends BaseBean {

    private String data;

    public List<Data> getData() {
        return new Gson().fromJson(data,new TypeToken<List<Data>>(){}.getType());
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data{

        private String platformSignTime;
        private String customerPhone;
        private String otherPhone;
        private String contractPrice;
        private String statusName;
        private int pcId;
        private String contractName;
        private String customerSignTime;
        private String designOrProjectId;
        private String contractCode;
        private String status;
        private int userRequireId;
        private String otherName;

        public String getOtherName() {
            return otherName;
        }

        public void setOtherName(String otherName) {
            this.otherName = otherName;
        }

        public int getUserRequireId() {
            return userRequireId;
        }

        public void setUserRequireId(int userRequireId) {
            this.userRequireId = userRequireId;
        }

        public String getPlatformSignTime() {
            return platformSignTime;
        }

        public void setPlatformSignTime(String platformSignTime) {
            this.platformSignTime = platformSignTime;
        }

        public String getCustomerPhone() {
            return customerPhone;
        }

        public void setCustomerPhone(String customerPhone) {
            this.customerPhone = customerPhone;
        }

        public String getOtherPhone() {
            return otherPhone;
        }

        public void setOtherPhone(String otherPhone) {
            this.otherPhone = otherPhone;
        }

        public String getContractPrice() {
            return contractPrice;
        }

        public void setContractPrice(String contractPrice) {
            this.contractPrice = contractPrice;
        }

        public String getStatusName() {
            return statusName;
        }

        public void setStatusName(String statusName) {
            this.statusName = statusName;
        }

        public int getPcId() {
            return pcId;
        }

        public void setPcId(int pcId) {
            this.pcId = pcId;
        }

        public String getContractName() {
            return contractName;
        }

        public void setContractName(String contractName) {
            this.contractName = contractName;
        }

        public String getCustomerSignTime() {
            return customerSignTime;
        }

        public void setCustomerSignTime(String customerSignTime) {
            this.customerSignTime = customerSignTime;
        }

        public String getDesignOrProjectId() {
            return designOrProjectId;
        }

        public void setDesignOrProjectId(String designOrProjectId) {
            this.designOrProjectId = designOrProjectId;
        }

        public String getContractCode() {
            return contractCode;
        }

        public void setContractCode(String contractCode) {
            this.contractCode = contractCode;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
